﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="GongYu_list.aspx.cs" Inherits="GongYu_list" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>无标题页</title>
        <LINK 
href="css.css" type=text/css rel=stylesheet>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table border="0" style="width: 100%">
            <tr>
                <td align="left" style="height: 17px">
                    &nbsp;<table align="center" border="1" bordercolordark="#9cc7ef" bordercolorlight="#145aa0"
                        cellpadding="4" cellspacing="0" style="width: 100%">
                        <tr bgcolor="#4296e7">
                            <td colspan="1" style="height: 24px">
                                <div align="center">
                                    <font color="#ffffff"><span style="color: #000000"><span style="font-size: 12pt;
                                        font-family: 仿宋_GB2312; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman';
                                        mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN;
                                        mso-bidi-language: AR-SA"><span style="font-size: 10.5pt; font-family: 宋体; mso-hansi-font-family: 'Times New Roman';
                                            mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US;
                                            mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-bidi-font-size: 12.0pt;
                                            mso-ascii-font-family: 'Times New Roman'">公寓信息</span></span></span></font></div>
                            </td>
                        </tr>
                        <tr>
                            <td width="79%">
                                &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;<asp:Label ID="Label1" runat="server" Text="宿舍号"></asp:Label><asp:TextBox
                                    ID="TextBox1" runat="server"></asp:TextBox><asp:Button ID="Button1" runat="server"
                                        OnClick="Button1_Click" Text="确定" /><asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
                                    CellPadding="4" ForeColor="#333333" GridLines="None" Width="723px" EnableModelValidation="True">
                                    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                    <RowStyle BackColor="#EFF3FB" />
                                    <Columns>
                                        <asp:BoundField DataField="楼号" HeaderText="楼号" />
                                        <asp:BoundField DataField="所在学院" HeaderText="所在学院" />
                                        <asp:BoundField DataField="房间号" HeaderText="房间号" />
                                        <asp:BoundField DataField="类型" HeaderText="类型" />
                                        <asp:BoundField DataField="可住人数" HeaderText="可住人数" />
                                        <asp:BoundField DataField="已住人数" HeaderText="已住人数" />
                                        <asp:BoundField DataField="状态" HeaderText="状态" />
                                        <asp:BoundField DataField="登记日期" HeaderText="登记日期" />
                                        <asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="GongYu.aspx?ID={0}"
                                            HeaderText="编辑" Text="编辑" />
                                        <asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="GongYuD.aspx?ID={0}"
                                            HeaderText="删除" Text="删除" />
                                    </Columns>
                                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                    <EditRowStyle BackColor="#2461BF" />
                                    <AlternatingRowStyle BackColor="White" />
                                </asp:GridView>
                                <br />
                            </td>
                        </tr>
                        <tr>
                            <td colspan="1" style="height: 25px">
                                <div align="center">
                                    <asp:LinkButton ID="LinkButton1" runat="server" PostBackUrl="~/GongYu.aspx">添加</asp:LinkButton>&nbsp;</div>
                            </td>
                        </tr>
                        <tr bgcolor="#4296e7">
                            <td colspan="1">
                                &nbsp;</td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
